package com.hpsk.shopgen.model.genbasic.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hpsk.common.CommonVo;
import com.hpsk.shopgen.model.genbasic.entity.GenBasic;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * <p>
 * 生成基础
 * </p>
 *
 * @author huangwang
 * @since 2025-07-07
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Schema(name = "GenBasic对象", description = "生成基础")
public class GenBasicVo extends CommonVo{
    private Long id;

    @Schema(description = "主表")
    private String dbTable;

    @Schema(description = "主表主键")
    private String dbTableKey;

    @Schema(description = "插件名")
    private String pluginName;

    @Schema(description = "模块名")
    private String moduleName;

    @Schema(description = "移除表前缀")
    private String tablePrefix;

    @Schema(description = "生成方式")
    private String generateType;

    @Schema(description = "所属模块")
    private String module;

    @Schema(description = "上级目录")
    private String menuPid;

    @Schema(description = "功能名")
//    @TableField("function_name")
    private String functionName;

    @Schema(description = "业务名")
//    @TableField("bus_name")
    private String busName;

    @Schema(description = "类名")
    private String className;

    @Schema(description = "表单布局")
    private String formLayout;

    @Schema(description = "使用栅格")
    private String gridWhether;

    @Schema(description = "包名")
    private String packageName;

    @Schema(description = "作者")
    private String authorName;

    @Schema(description = "排序")
    private String sortCode;

    @Schema(description = "移动端所属模块")
//    @TableField("mobile_module")
    private String mobileModule;
}
